Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V14.9.0 proposal #34852

Merged
merged 104 commits into from
Aug 27, 2020
Merged

V14.9.0 proposal #34852

merged 104 commits into from
Aug 27, 2020

Conversation

danielleadams
Copy link
Contributor

@danielleadams danielleadams commented Aug 20, 2020

2020-08-27, Version 14.9.0 (Current), @BethGriggs prepared by @danielleadams

Notable Changes

  • build: set --v8-enable-object-print by default (Mary Marchini) #34705
  • deps:
    • upgrade to libuv 1.39.0 (cjihrig) #34915
    • upgrade npm to 6.14.8 (Ruy Adorno) #34834
    • V8: cherry-pick e06ace6b5cdb (Anna Henningsen) #34673
  • n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof) #34839
  • tools: add debug entitlements for macOS 10.15+ (Gabriele Greco) #34378

Commits

  • [aaa6e43d3c] - Forces Powershell to use tls1.2 (Bartosz Sosnowski) #33609
  • [8de6b72efa] - benchmark: add benchmark script for resourceUsage (Yash Ladha) #34691
  • [e4450a199f] - benchmark: update function_args addon code (Anna Henningsen) #34725
  • [332e38433b] - (SEMVER-MINOR) buffer: alias UInt ➡️ Uint in buffer methods (Anna Henningsen) #34729
  • [7f0869f963] - build: run link checker in linter workflow (Richard Lau) #34810
  • [9ca4b2ad5c] - build: add CODEOWNERS linter action (Mary Marchini) #34739
  • [bdf26aebb4] - (SEMVER-MINOR) build: add build flag for OSS-Fuzz integration (davkor) #34761
  • [d89a83c62c] - build: move compiling for Windows ARM64 to Tier 2 (João Reis) #34721
  • [aed82379dd] - build: implement a Commit Queue in Actions (Mary Marchini) #34112
  • [15c92083b5] - build: set --v8-enable-object-print by default (Mary Marchini) #34705
  • [201d3d7074] - build: cover all benchmark addons with C++ linter (Anna Henningsen) #34725
  • [2abc98e9ff] - build: add flag to build V8 with OBJECT_PRINT (Mary Marchini) #32834
  • [6048421726] - build,win: use x64 Node when building for ARM64 (Dennis Ameling) #34009
  • [69bcca122e] - crypto: avoid unitializing ECDH objects on error (Tobias Nießen) #34302
  • [cf348542c6] - deps: upgrade to libuv 1.39.0 (cjihrig) #34915
  • [68b7a8db6f] - deps: upgrade npm to 6.14.8 (Ruy Adorno) #34834
  • [9527a2a8a7] - deps: V8: cherry-pick e06ace6b5cdb (Anna Henningsen) #34673
  • [cd32522c92] - doc: add missing DEP ID for 'new crypto.Certificate()' (Beth Griggs) #34940
  • [ff15c92a7f] - doc: improve fs doc intro (James M Snell) #34843
  • [dae93ca0cb] - doc: indicate the format of process.version (Danny Guo) #34872
  • [bf7f492cb6] - doc: rename module pages (Antoine du HAMEL) #34663
  • [f2c2f42195] - doc: improve wording in deprecations.md (Rich Trott) #34860
  • [4b3b0e3f98] - doc: fix ESM/CJS wrapper example (Maksim Sinik) #34853
  • [d6bb2ad5ea] - doc: adopt Microsoft Style Guide officially (Rich Trott) #34821
  • [e4679bd45d] - doc: use 'console' info string for console output (Rich Trott) #34837
  • [b1c3fb73fc] - doc: fix bulleted list punctuation in BUILDING.md (Rich Trott) #34849
  • [ef41ddf5cb] - doc: sort references lexically (Rich Trott) #34848
  • [3133b75b68] - doc: move addaleax to TSC emeritus (Anna Henningsen) #34809
  • [5214de78cd] - doc: remove space above version picker (Justice Almanzar) #34768
  • [34430abd71] - doc: move module core module doc to separate page (Antoine du HAMEL) #34747
  • [b356b79ca4] - doc: reorder deprecated tls docs (Jerome T.K. Covington) #34687
  • [5c987ffc96] - doc: fix file name to main.mjs and not main.js in esm.md (Frank Lemanschik) #34786
  • [969fb1c5e3] - doc: improve async_hooks snippets (Andrey Pechkurov) #34829
  • [3360dcbfab] - doc: fix some typos and grammar mistakes (Hilla Shahrabani) #34800
  • [47f2f45dd8] - doc: deprecate (doc-only) crypto.Certificate() (Rich Trott) #34697
  • [3bfe199c28] - doc: remove "is recommended from crypto legacy API text (Rich Trott) #34697
  • [258f64f578] - doc: edit filehandle.close() entry in fs.md (Rich Trott) #34782
  • [e54a6842e0] - doc: fix broken links in commit-queue.md (Luigi Pinca) #34789
  • [3925fd6550] - doc: avoid _may_ in collaborator guide (Rich Trott) #34749
  • [cb0960635b] - doc: use sentence-casing for headers in collaborator guide (Rich Trott) #34713
  • [8b5690287c] - doc: edit (general) collaborator guide (Rich Trott) #34712
  • [b933eef1f3] - doc: reduce repetitiveness on Consensus Seeking (Mary Marchini) #34702
  • [f7563f811a] - doc: remove typo in crypto.md (Rich Trott) #34698
  • [ea98122a51] - doc: n-api environment life cycle APIs are stable (Jim Schlight) #34641
  • [b00f71b660] - doc: add padding in the sidebar column (Antoine du HAMEL) #34665
  • [91f53245ae] - doc: use semantically appropriate tag for lines (Antoine du HAMEL) #34660
  • [230bcaf276] - doc: add HPE_UNEXPECTED_CONTENT_LENGTH error description (Nikolay Krashnikov) #34596
  • [d29b805569] - doc: update http server response 'close' event (Renato Mariscal) #34472
  • [b93ba07fa5] - doc: add writable and readable options to Duplex docs (Priyank Singh) #34383
  • [7cde699115] - doc: harden policy around objections (Mary Marchini) #34639
  • [7d0970ca66] - doc,lib: remove unused error code (Rich Trott) #34792
  • [9ebae0a758] - doc,n-api: add link to n-api tutorial website (Jim Schlight) #34870
  • [cdd4540124] - doc,tools: annotate broken links in actions workflow (Richard Lau) #34810
  • [dbcb36d553] - errors: improve ERR_INVALID_OPT_VALUE error (Denys Otrishko) #34671
  • [8f38c19c08] - esm: improve error message of ERR_UNSUPPORTED_ESM_URL_SCHEME (Denys Otrishko) #34795
  • [7ef5591d06] - fs: guard against undefined behavior (Robert Nagy) #34746
  • [952f233e39] - http: add RFC references for each status code (Voltra) #33671
  • [cc7258469c] - http2: fix Http2Response.sendDate (João Lucas Lucchetta) #34850
  • [9e0d18fd3f] - http2: use and support non-empty DATA frame with END_STREAM flag (Carlos Lopez) #33875
  • [6ee2578427] - http2: add maxHeaderSize option to http2 (Priyank Singh) #33636
  • [04defbaacd] - lib: allow to validate enums with validateOneOf (Denys Otrishko) #34070
  • [1a9496a79d] - lib: add UNC support to url.pathToFileURL() (Matthew McEachen) #34743
  • [124a01d487] - lib: use full URL to GitHub issues in comments (Rich Trott) #34686
  • [756c058c45] - meta: fix codeowners docs path (Mary Marchini) #34811
  • [2781f646c9] - meta: add TSC as owner of governance-related docs (Mary Marchini) #34737
  • [a69d30eb3f] - module: drop -u alias for --conditions (Richard Lau) #34935
  • [e4a0e5bc1a] - module: fix check for package.json at volume root (Derek Lewis) #34595
  • [698cae7625] - module: share CJS/ESM resolver fns, refactoring (Guy Bedford) #34744
  • [6929649793] - module: custom --conditions flag option (Guy Bedford) #34637
  • [9a7c87df37] - module: use cjsCache over esm injection (Guy Bedford) #34605
  • [98f7d8ec81] - n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof) #34839
  • [90abdd3dd4] - net: validate custom lookup() output (cjihrig) #34813
  • [84031183bc] - policy: support conditions for redirects (Bradley Farias) #34414
  • [a16f0f427e] - process: correctly parse Unicode in NODE_OPTIONS (Bartosz Sosnowski) #34476
  • [fff1e7f86c] - src: fix abort on uv_loop_init() failure (Ben Noordhuis) #34874
  • [7666d95c7d] - src: usage of modernize-use-equals-default (Yash Ladha) #34807
  • [3022e0d614] - src: prefer C++ empty() in boolean expressions (Tobias Nießen) #34432
  • [e16b3e72f9] - test: fix test-cluster-net-listen-relative-path.js to run in / (Rich Trott) #34820
  • [2a78c33445] - test: run REPL preview test regardless of terminal type (Rich Trott) #34798
  • [6b45bf3475] - test: modernize test-cluster-master-error (Anna Henningsen) #34685
  • [c080fc590d] - test: move test-inspector-already-activated-cli to parallel (Rich Trott) #34755
  • [7ed7ef7ad8] - test: move execution of WPT to worker threads (Michaël Zasso) #34796
  • [e8eed5c426] - test: convert assertion that always fails to assert.fail() (Rich Trott) #34793
  • [c458e8406e] - test: remove common.rootDir (Rich Trott) #34772
  • [1c324d5939] - test: allow ENOENT in test-worker-init-failure (Rich Trott) #34769
  • [88919e584b] - test: allow ENFILE in test-worker-init-failure (Rich Trott) #34769
  • [a78c638fc3] - test: use process.env.PYTHON to spawn python (Anna Henningsen) #34700
  • [9a790203ed] - test: remove error message checking in test-worker-init-failure (Rich Trott) #34727
  • [0472d1629a] - test: skip node-api/test_worker_terminate_finalization (Anna Henningsen) #34732
  • [8e91f3ec0a] - test: fix test_worker_terminate_finalization (Anna Henningsen) #34726
  • [fd5153c822] - test: split test-crypto-dh-hash (Rich Trott) #34631
  • [9f0917e656] - test: use block-scoping in test/pummel/test-timers.js (Rich Trott) #34630
  • [b261895d2b] - test: remove test-child-process-fork-args flaky designation (Rich Trott) #34684
  • [27c0653517] - test: add vm crash regression test (Anna Henningsen) #34673
  • [093a4b0ae4] - test: add tests for validateNumber/validateString (Denys Otrishko) #34672
  • [5009d82b0c] - test,doc: add missing uv_setup_args() calls (cjihrig) #34751
  • [cca0372022] - (SEMVER-MINOR) timers: allow timers to be used as primitives (Denys Otrishko) #34017
  • [e90cb49390] - tls: enable renegotiation when using BoringSSL (Jeremy Rose) #34832
  • [8766b5bfd5] - tools: add debug entitlements for macOS 10.15+ (Gabriele Greco) #34378
  • [77bbd73919] - util: add debug and debuglog.enabled (Bradley Farias) #33424
  • [513ab0e02f] - worker: fix --abort-on-uncaught-exception handling (Anna Henningsen) #34724
  • [03d601344a] - worker: do not crash when JSTransferable lists untransferable value (Anna Henningsen) #34766
  • [b73943e476] - workers: add support for data: URLs (Antoine du HAMEL) #34584

lundibundi and others added 2 commits August 17, 2020 16:30
This allows timers to be matched to numeric Ids and therefore used
as keys of an Object, passed and stored without storing the Timer instance.

clearTimeout/clearInterval is modified to support numeric/string Ids.

Co-authored-by: Bradley Farias <[email protected]>
Co-authored-by: Anatoli Papirovski <[email protected]>

Refs: #21152

Backport-PR-URL: #34482
PR-URL: #34017
Backport-PR-URL: #34482
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Bradley Farias <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Signed-off-by: Denys Otrishko <[email protected]>
Powershell defaults to tls 1.0 - This forces powershell to use tls 1.2
Tls 1.2 is supported in all current microsoft operating systems and
needed to download chocolatey.

Fixes: #33140
Backport-PR-URL: #34461
PR-URL: #33609
Reviewed-By: Bartosz Sosnowski <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@danielleadams danielleadams requested review from a team as code owners August 20, 2020 13:12
@danielleadams danielleadams requested a review from a team August 20, 2020 13:12
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. meta Issues and PRs related to the general management of the project. tools Issues and PRs related to the tools directory. v14.x v8 engine Issues and PRs related to the V8 dependency. labels Aug 20, 2020
@danielleadams danielleadams removed request for a team August 20, 2020 13:14
@danielleadams

This comment has been minimized.

lundibundi and others added 14 commits August 20, 2020 15:05
PR-URL: #34672
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
PR-URL: #34605
Reviewed-By: Bradley Farias <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Harden policy around objections to avoid misunderstanding and to
encourage collaboration between pull request authors and objectors.

Fixes: #34564

PR-URL: #34639
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Fixes: #34382

PR-URL: #34383
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Robert Nagy <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Add a configure flag to build V8 with `-DOBJECT_PRINT`, which will
expose auxiliar functions to inspect heap objects using native
debuggers.

Fixes: #32402
Signed-off-by: Mary Marchini <[email protected]>

PR-URL: #32834
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
To debug native modules node should be a debuggable process, that will
require the **com.apple.security.get-task-allow** entitlement to be
added to the codesign procedure.

PR-URL: #34378
Fixes: #34340
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Original commit message:

    [api] Fix empty Maybe crash in GetRealNamedPropertyAttributes

    `Object::GetRealNamedPropertyAttributes()` can crash if an empty
    `Maybe` is returned by `JSReceiver::GetPropertyAttributes()` because
    it was not checking for that. Fix that.

    Refs: #34606
    Change-Id: Ic83f904ba7134786bcd8f786eb2ce98adb4fea1e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335057
    Commit-Queue: Leszek Swirski <[email protected]>
    Reviewed-by: Leszek Swirski <[email protected]>
    Cr-Commit-Position: refs/heads/master@{#69258}

Refs: v8/v8@e06ace6

PR-URL: #34673
Fixes: #34606
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Refs: #34606
PR-URL: #34673
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Don't assume the reader of the code will know where to find the issue
tracker. Provide the full URL. This is especially important if the
issue tracker should move again.

PR-URL: #34686
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: Denys Otrishko <[email protected]>
Reviewed-By: James M Snell <[email protected]>
test-child-process-fork-args does not appear in results from `ncu-ci
walk commit` and no one has reported it failing for several months.
A stress test also passed.

Closes: #32863

PR-URL: #34684
Fixes: #32863
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Pranshu Srivastava <[email protected]>
Two places emits `close` events:

`resOnFinish` calls `emitCloseNT`, which happens when the result is
completed:
https://github.com/nodejs/node/blob/687dbd85263f433cc351c6daa83f9296a1d0bb4f/lib/_http_server.js#L695

It gets attached once the socket is assigned:
https://github.com/nodejs/node/blob/687dbd85263f433cc351c6daa83f9296a1d0bb4f/lib/_http_server.js#L226

And detached if the response is completed:
https://github.com/nodejs/node/blob/master/lib/_http_server.js#L709
https://github.com/nodejs/node/blob/687dbd85263f433cc351c6daa83f9296a1d0bb4f/lib/_http_server.js#L232

Which means, it can only be reached in this case, for premature socket
termination.

PR-URL: #34472
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Robert Nagy <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
PR-URL: #34630
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
test-crypto-dh-hash times out on some platforms. A single test case is
responsible for around 50% of the time to run, so split that test case
into its own file.

PR-URL: #34631
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@MylesBorins
Copy link
Contributor

MylesBorins commented Aug 26, 2020

Dropping -u has landed in cc39bdf

edit: @danielleadams I landed it on v14.x-staging for you

Old versions of mocha break after #34637.

This was a bug in mocha, but since this is a widely used module
we can expect ecosystem breakage until modules are updated to
the latest version of mocha. Drop the conflicting `-u` alias --
we can potentially bring it back once modules have been updated.

PR-URL: #34935
Refs: mochajs/mocha#4417
Refs: #34637
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jan Krems <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>
danielleadams pushed a commit that referenced this pull request Aug 26, 2020
Notable changes:

- build: set --v8-enable-object-print by default (Mary Marchini)
  [#34705](#34705)
- deps:
  - upgrade to libuv 1.39.0 (cjihrig)
    [#34915](#34915)
  - upgrade npm to 6.14.8 (Ruy Adorno)
    [#34834](#34834)
  - V8: cherry-pick e06ace6b5cdb (Anna Henningsen)
    [#34673](#34673)
- n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof)
  [#34839](#34839)
- tools: add debug entitlements for macOS 10.15+ (Gabriele Greco)
  [#34378](#34378)

PR-URL: #34852
@danielleadams
Copy link
Contributor Author

@nodejs-github-bot

This comment has been minimized.

@danielleadams
Copy link
Contributor Author

Thanks, all, for the help on this!

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Aug 26, 2020

danielleadams pushed a commit that referenced this pull request Aug 26, 2020
Notable changes:

- build: set --v8-enable-object-print by default (Mary Marchini)
  [#34705](#34705)
- deps:
  - upgrade to libuv 1.39.0 (cjihrig)
    [#34915](#34915)
  - upgrade npm to 6.14.8 (Ruy Adorno)
    [#34834](#34834)
  - V8: cherry-pick e06ace6b5cdb (Anna Henningsen)
    [#34673](#34673)
- n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof)
  [#34839](#34839)
- tools: add debug entitlements for macOS 10.15+ (Gabriele Greco)
  [#34378](#34378)

PR-URL: #34852
PR-URL: #34940
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Notable changes:

- build: set --v8-enable-object-print by default (Mary Marchini)
  [#34705](#34705)
- deps:
  - upgrade to libuv 1.39.0 (cjihrig)
    [#34915](#34915)
  - upgrade npm to 6.14.8 (Ruy Adorno)
    [#34834](#34834)
  - V8: cherry-pick e06ace6b5cdb (Anna Henningsen)
    [#34673](#34673)
- n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof)
  [#34839](#34839)
- tools: add debug entitlements for macOS 10.15+ (Gabriele Greco)
  [#34378](#34378)

PR-URL: #34852
@nodejs-github-bot
Copy link
Collaborator

BethGriggs added a commit that referenced this pull request Aug 27, 2020
@BethGriggs BethGriggs merged commit 3153c2d into v14.x Aug 27, 2020
BethGriggs pushed a commit that referenced this pull request Aug 27, 2020
Notable changes:

- build: set --v8-enable-object-print by default (Mary Marchini)
  [#34705](#34705)
- deps:
  - upgrade to libuv 1.39.0 (cjihrig)
    [#34915](#34915)
  - upgrade npm to 6.14.8 (Ruy Adorno)
    [#34834](#34834)
  - V8: cherry-pick e06ace6b5cdb (Anna Henningsen)
    [#34673](#34673)
- n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof)
  [#34839](#34839)
- tools: add debug entitlements for macOS 10.15+ (Gabriele Greco)
  [#34378](#34378)

PR-URL: #34852
BethGriggs added a commit to BethGriggs/nodejs.org that referenced this pull request Aug 27, 2020
@BethGriggs BethGriggs deleted the v14.9.0-proposal branch August 27, 2020 14:55
BethGriggs added a commit to nodejs/nodejs.org that referenced this pull request Aug 27, 2020
@targos targos added release Issues and PRs related to Node.js releases. and removed build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. meta Issues and PRs related to the general management of the project. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Issues and PRs related to Node.js releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.